internal/strconv.decimalSlice.dp (field)
21 uses
internal/strconv (current package)
ftoa.go#L144: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L197: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L203: prec = max(digs.nd-digs.dp, 0)
ftoa.go#L220: digs = decimalSlice{d: d.d[:], nd: d.nd, dp: d.dp}
ftoa.go#L234: if eprec > digs.nd && digs.nd >= digs.dp {
ftoa.go#L243: exp := digs.dp - 1
ftoa.go#L250: if prec > digs.dp {
ftoa.go#L253: return fmtF(dst, neg, digs, max(prec-digs.dp, 0))
ftoa.go#L401: nd, dp int
ftoa.go#L434: exp := d.dp - 1
ftoa.go#L467: if d.dp > 0 {
ftoa.go#L468: m := min(d.nd, d.dp)
ftoa.go#L470: for ; m < d.dp; m++ {
ftoa.go#L482: if j := d.dp + i; 0 <= j && j < d.nd {
ftoadbox.go#L179: d.dp = d.nd + exp
ftoafixed.go#L126: d.dp = digits - p
ftoafixed.go#L135: d.dp++
ftoafixed.go#L141: if fmt == 'f' && digits != d.dp+prec {
ftoafixed.go#L142: for digits > d.dp+prec {
ftoafixed.go#L154: d.dp++
ftoafixed.go#L171: d.dp++
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |